package cn.com.yusys.yusp.admin.repository.mapper;

import cn.com.yusys.yusp.admin.domain.AdminSmLog;
import cn.com.yusys.yusp.commons.mapper.CommonMapper;
import cn.com.yusys.yusp.commons.mapper.QueryModel;

import java.util.List;
import java.util.Map;

public interface CustCenterMapper extends CommonMapper<AdminSmLog> {
    //新客户建档
    int addNewCustomer(QueryModel model);
    int getCustomerCtfNo(QueryModel model);

    //新客户建档
    int excelAddNewCustomer(List<QueryModel> list);

    //查询所有的用户信息
    List<Map<String, Object>> getAllCustomerInformation(QueryModel model);

    List<Map<String, Object>> getGridName(QueryModel model);
    List<Map<String, Object>> getOrgName(QueryModel model);

    List<Map<String, Object>> getSecondGridName(QueryModel model);

    //查询客户经理的用户信息
    List<Map<String, Object>> getCustomerManagerInformation(QueryModel model);

    //查询支行行长下属所有客户经理的用户信息
    List<Map<String, Object>> getSubBranchManagerInformation(QueryModel model);

    //查询支行行长下属所有客户经理的用户信息
    List<Map<String, Object>> getBranchManagerInformation(QueryModel model);

    //查询选定的用户信息
    List<Map<String, Object>> getCustomerInformation(QueryModel model);

    Integer updateCustomerImport(QueryModel model);

    Integer updateCustomerInformation(QueryModel model);

    int deleteCustomer(List<Integer> list);

    //查询已经存在的用户
    List<String> selectExistCustInfo(List<?> custNums);

    Map<String,Object> isExistCustomer(QueryModel model);

    String selectAppStatus(QueryModel model);

    int insertUserTransfer(QueryModel model);

    int insertProcessNode(QueryModel model);




}
